package com.rz.htk.postal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rz.core.common.model.PageEntity;

import java.time.LocalDateTime;

/**
 * @ClassName ExpressCodeRecord
 * @Description 快递单号导入记录
 * @Author maweiyue
 * @Date 2019/4/11 14:33
 */
@TableName(value = "sys_express_code_record")
public class ExpressCodeRecord extends PageEntity {

    @TableId(type = IdType.AUTO)
    private Integer id;

    /** 快递单号记录id */
    private Integer expressCodeId;

    /** 产品编号 */
    private String prdCode;

    /** 快递类型 */
    private String expressType;

    /** 本次导入/添加的快递单号数量 */
    private float codeCount;

    /** 本次导入的第一个快递单号 */
    private String startCode;

    /** 本次导入的最后一个快递单号 */
    private String endCode;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT-8")
    private LocalDateTime crteTime;

    /** 创建者 */
    private Integer crteMngId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPrdCode() {
        return prdCode;
    }

    public void setPrdCode(String prdCode) {
        this.prdCode = prdCode;
    }

    public String getExpressType() {
        return expressType;
    }

    public void setExpressType(String expressType) {
        this.expressType = expressType;
    }

    public LocalDateTime getCrteTime() {
        return crteTime;
    }

    public void setCrteTime(LocalDateTime crteTime) {
        this.crteTime = crteTime;
    }

    public Integer getCrteMngId() {
        return crteMngId;
    }

    public void setCrteMngId(Integer crteMngId) {
        this.crteMngId = crteMngId;
    }

    public float getCodeCount() {
        return codeCount;
    }

    public void setCodeCount(float codeCount) {
        this.codeCount = codeCount;
    }

    public Integer getExpressCodeId() {
        return expressCodeId;
    }

    public void setExpressCodeId(Integer expressCodeId) {
        this.expressCodeId = expressCodeId;
    }

    public String getStartCode() {
        return startCode;
    }

    public void setStartCode(String startCode) {
        this.startCode = startCode;
    }

    public String getEndCode() {
        return endCode;
    }

    public void setEndCode(String endCode) {
        this.endCode = endCode;
    }
}
